package com.EmployeeButler.service.impl;

import com.EmployeeButler.entity.Attendance;
import com.EmployeeButler.entity.vo.AttendanceVo;
import com.EmployeeButler.mapper.AttendanceMapper;
import com.EmployeeButler.service.IAttendanceService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 作者
 * @since 2024-06-13
 */
@Service
public class AttendanceServiceImpl extends ServiceImpl<AttendanceMapper, Attendance> implements IAttendanceService {

    @Autowired
    private AttendanceMapper attendanceMapper;

    @Override
    public List<AttendanceVo> getAttendanceShow() {
        return attendanceMapper.getAttendanceShow();
    }
}
